// user用户路由，用于对用户的api路由

const Router = require('koa-router');
const router = new Router({ prefix: '/api/user' });
const { find, findbyid } = require('../controllers/user')

router.get('/', find)

router.get('/:id', findbyid)

module.exports = router;